import request from '@/utils/request'

export function fetchList(data) {
  return request({
    url: '/api/admin/group/get-all-managers',
    method: 'post',
    data
  })
}

export function getMembersByDeviceCode(data) {
  return request({
    url: '/api/admin/group/get-members-by-device-code',
    method: 'post',
    params: data
  })
}

//获取设备品牌
export function getMenufacturers(data) {
  return request({
    url: '/api/admin/menufacturer/getMenufacturers',
    method: 'post',
    data
  })
}